﻿LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
OPENCV_LIB_TYPE:=STATIC
OpenCV_INSTALL_MODULES := on
OpenCV_CAMERA_MODULES := off
#include指向自己OpenCV-android-sdk\sdk\native\jni\OpenCV.mk对应位置
include /home/u/opencv3.4.5/OpenCV-android-sdk/sdk/native/jni/OpenCV.mk

LOCAL_MODULE := CVFun
LOCAL_SRC_FILES := /home/u/Documents/tof/tof/jni_part.cpp
LOCAL_LDLIBS += -lm -llog
#LOCAL_ARM_NEON  := true # enable ARM NEON Instructions
#EXTRA_CFLAGS := -D__ARM_NEON__
LOCAL_CFLAGS += -std=c++11 
include $(BUILD_SHARED_LIBRARY)
